# 指定基础镜像
FROM openjdk:8-jre
# 维护者信息
MAINTAINER unknowpupil <772054819@qq.com>
RUN mkdir /app
COPY init-house.jar /app/app.jar
RUN echo "-------------------- api环境配置 --------------------"
EXPOSE 8082
#ENTRYPOINT ["java","-Xms3550m","-Xmx3550m","-Xmn2g","-Xss256k","-server","-Djava.security.egd=file:/dev/./urandom","-jar","/app/app.jar"]
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/usr/app/app.jar"]

